package com.ngkj.zmfptback.business.mapper.read;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ngkj.zmfptback.business.bean.CommunityEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ChenHN
 * @since 2021/12/29 creation
 **/
@Mapper
public interface CommunityReadMapper extends BaseMapper<CommunityEntity> {
    IPage<CommunityEntity> getCommunityPage( Page<CommunityEntity> page,@Param("communityEntity") CommunityEntity communityEntity);

    List<CommunityEntity> getCommunity(@Param("qywzid") String qywzid,@Param("sqlsh") String sqlsh);
}
